package com.tcoiss.app.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.tcoiss.app.domain.TrackService;
import com.tcoiss.app.domain.TrackVo;
import com.tcoiss.common.component.api.model.AddressVo;

import java.util.List;
import java.util.Map;

/**
 * 轨迹服务配置Service接口
 *
 * @author zw
 * @date 2021-02-21
 */
public interface ITrackServiceService extends IService<TrackService> {

    /**
     * 查询列表
     */
    List<TrackService> queryList(TrackService trackService);

    TrackService getOneByAddrss(AddressVo addressVo);

    TrackService getOneByKey(String key);

    boolean saveTrackService(TrackService trackService, String apiCode);

    boolean addFenceNum(TrackService trackService, int num);

    List<Map<String,Object>> getDistrictInfo(TrackService track, String getDistrictInfo);

    Integer getPriorityLast();

    String importTable(List<TrackVo> columns);

    boolean updateStatus(List<Long> asList, Integer status);

    TrackService getUsableKey();

    TrackService getDefaultKey();


}
